package com.hooya.fa.eu.biz.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hooya.fa.eu.api.bo.InvoiceDetailBO;
import com.hooya.fa.eu.biz.dao.entity.ReconfigureInvoiceDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2023/12/21
 * @Version 1.0.0
 */
@Mapper
public interface InvoiceDetailMapper extends BaseMapper<ReconfigureInvoiceDetail> {

    /**
     * 根据条件获取b2b发票详情列表
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<InvoiceDetailBO> getB2bDetailBoListByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 根据条件获取转运发票详情列表
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<InvoiceDetailBO> getZyDetailBoListByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
